home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilstem
/
stackbat
/
bu40smll.exe
/
BUDEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-23
|
3KB
|
139 lines
:Batutil c(o) 1990, 1991 Barry Simon and Richard Wilson
: Version 4.0
echo off
if %ret%a==?a goto help
batutil {$É=%0}{inc %0 code}
goto end
:help
set ret=y
batutil ?
set b4$=
goto end
:echo1
This batch file demonstrates what you can do with BATUTIL, a shareware program
to enhance your batch files. Everything that you see, hear and do until you
exit is done with DOS tools and BATUTIL.
Now hit a key to continue.
:echo2
The menu below is made with BATUTIL. Use arrow keys and <Enter> or Highlit
letters to choose; even use a mouse if you have one.
:echo3
BATUTIL will report on the environment, allow interactive editing and has
batch commands. We'll first show you your environment, then call you
into the environment editor and show you your environment again.
Now hit a key
:fmain
Menu demonstration
Equipment determination
Input from User
controlling the enVironment
Display tools
Color demo
Language demo
Sounds
Under the covers
eXit
@
Explore the options available when you make menus with BATUTIL
A sample of some of the hardware information you can determine with BATUTIL
Input from the user includes but goes way beyond Y/N questions
List, edit and otherwise manipulate the DOS environment area
See what you can do to your screens with BATUTIL
See all the colors in a simple panel made with BATUTIL
New in Version 4.0 - string manipulation, flow control, arithmetic, more!!
Hear more of BATUTIL's repitoire of sounds and tunes
Call up BATUTIL's help and explore how it works
Come back again soon, hear!
:fmain1
Menu demonstration
Equipment determination
Input from User
controlling the enVironment
Display tools
Color demo
Language demo
Sounds
eXit
@
Explore the options available when you make menus with BATUTIL
A sample of some of the hardware information you can determine with BATUTIL
Input from the user includes but goes way beyond Y/N questions
List, edit and otherwise manipulate the DOS environment area
See what you can do to your screens with BATUTIL
See all the colors in a simple panel made with BATUTIL
New in Version 4.0 - string manipulation, flow control, arithmetic, more!!
Hear more of BATUTIL's repitoire of sounds and tunes
Come back again soon, hear!
:code
{RC $} {CU -} {CL}{EX batutil.hlp}
if $r > 1 then $Å=1
if $x(ret)=y then go mainmenu
{RO 3}{CO 5}{EC CTRLALT$S}{SO 15}{EC Associates}{GE WA1}{SO 14}
{EC proudly present$_$_}{CO 12}{SO 18}{BP @1BB@1Ea@19t@1Au@1Ft@1Ci@1Dl}
{SO 19}{FE %0 echo1}{AS}
{AT 0F}{CL}{FE %0 echo2}{ec $_}{MH BATUTIL SAMPLER}{FM $!(%0 fmain$Å)}
call menu$r
la mainmenu
set ret= b4$=
{AT 0F}{CL}{MH BATUTIL SAMPLER}{FM $!($É fmain$Å)}
call menu$r
goto mainmenu
la menu1
AT 1E
inc menudemo.bat code
AT 0F
ret
la menu2
AT 1E
inc equip.bat code
AT 0F
ret
la menu3
AT 1E
inc inputdem code
AT 0F
ret
la menu4
{CL}{FE %0 echo3}{AS}{AT 1E}{CL}{EN}{EC $_Hit a key for environment editor}{AS}
set b4$=I$Spaid
{ED}
{EN}{EC $_Hit a key to return to main menu}{AS}
ret
la menu5
AT 1E
inc showdemo.bat code
AT 0F
ret
la menu6
inc colordem.bat code
ret
la menu7
AT 1E
inc langdemo.bat code
AT 0F
ret
la menu8
inc soundemo code
ret
la menu9
if $Å=1 then goto halt
set ret=?
CL
set b4$=I$Spaid
go halt
ret
la menu0
la menu10
goto halt
ret
:end
if not %ret%a==a budemo